
<html><HEAD>
<LINK REL=STYLESHEET HREF="default.css" TYPE="text/css">
<TITLE>
Using PRINT statements in Adaptive Server stored procedures</TITLE>
</HEAD>
<BODY>

<!-- Header -->
<p class="ancestor" align="right"><A HREF="connpbp41.htm">Previous</A>&nbsp;&nbsp;<A HREF="connpbp43.htm" >Next</A>
<!-- End Header -->
<A NAME="CCJDGBBF"></A><h1>Using PRINT statements in Adaptive Server stored procedures</h1>
<A NAME="TI797"></A><p>The ASE or SYC Adaptive Server database interface allows you
to use <b>PRINT</b> statements in your stored procedures
for debugging purposes.</p>
<A NAME="TI798"></A><p>This means, for example, that if you turn on Database Trace
when accessing the database through the ASE or SYC interface, <b>PRINT</b> messages
appear in the trace log but they do not return errors or cancel
the rest of the stored procedure.</p>

